package com.cait.cait.model;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

/**
 * @author ：Yangjiangtao
 * @date ：Created in 2020/2/14 0:20
 * @modified By：Tangjiangtao
 * @description：recive member form
 */
@Data
public class MemberForm {
    //Id
    private int memberId;
    //姓名
    @NotEmpty(message = "姓名不能为空")
    private String memberName;
    //学号
    @NotEmpty(message = "学号不能为空")
    private String memberStudentNum;
    //图片
    private MultipartFile memberPicture;
    //介绍
    private String memberIntroduce;
    //职位类目
    private String memberCategoryId;
    //专业
    private String memberMajor;
    //年级
    private String memberGrade;
}
